<!DOCTYPE html>
<html lang="zh-CN">

<head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title>贪吃蛇</title>
</head>

<body>
   <div class="main">
      <!-- 设置游戏舞台 -->
      <div class="stage">
         <!-- 设置蛇 -->
         <div class="snake">
            <!-- div表示蛇的各部分 -->
            <div></div>
         </div>
         <!-- 设置食物 -->
         <div class="food">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
         </div>
      </div>
      <!-- 设置记分牌 -->
      <div class="score-panel">
         <div>
            SCORE: <span class="score">0</span>
         </div>
         <div>
            Level: <span class="level">1</span>
         </div>
      </div>
   </div>
</body>

</html>